Fixed the Instantiation Problem of Engine