Fix check_in method