small bug on pending appointments solved