fixing payment operations