Fixed incorrect global injections issue