custom checkout fix