revert changes to engine, changed learning mode