fix error message on click on checkout