refactoring destroy functionality
bump to 0.3.9