fixing devise error