fixed bug in startFacility