Fix devise for production