Fixed circular dependency with rtGlobal