remove unnormal behavior of delete appointment button