Fixed error when adding a fence device
Added resource cleanup link