fix a bug of checkout
fix a upper issue again