finally fixed devise on devel and prod