Fix bug: engine types incorrect.