fix before action of payments