global: refactoring fix
Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch> Reviewed-by: Jiri Kuncar <jiri.kuncar@cern.ch>