fix payment if