fix bug in manager initialization where global is an arry and object is the hash