fixed memory leak on set destructor error