fix checkin controller