minor fixes on appointments and patients