even more errors rectified: profiles not saved