Fixes checkout and checkin