Fix #205 bug : create a new appointment, click on print and got error