fixed small bug in printing groups