bugfixing on checkout