fix bugs on facilities