fix string path option in destroy method

This fixes a typo that mistakes path module for options as path string