updated error message in checkOut