fixed appt bug.