bugfix in personfit for MG objects