fixing mistakes that occured duirng the attempted checkout