fixing magikHours directive