fix the bug when displaying available_slot.php