fix engine with devise