fixed minor bug with checkout