changed error message when class is full