changed behaviour of checkout