fixed multiple payment bug