check for instance before calling log in destroy