fix destroying