Fix some bugs in Facility:release().