Wrong namespace when loading globally