add checkout condition on replace_comma