fixes to profile manager