Fix checkout calling