Fixed import bug since refactoring of ResourceManager