Fixed complete profile logic.