delete payment useless code