engine:

Fixed a error refactoring error.