method to delete strings and trigger this method on drop of struct