fixed destroy test error