Fix minor bugs in checkin checkout media