fix gem devise problem