fixed appointmentservice.java;