Fix register process when checking out