fixed destroy command