re fix payment bug