fix errors devise