fix issue where bindings weren't properly getting cleaned up