checkout - bug fix