fix payment errors