Fixed a bug that engine can't load from single engine file

Fixed a bug that engine can't load from single engine file