Fixing delete BN

Delete all variables when deleting a BN