fix get_facility_history