fix issue with calling destroy