delete dir when deleting bridge