Fix incorrect checkout