Fixed the devise error