Bugfix in 'destroy' function in hash plugin

Changed old variable 'owl' to 'core'.