Fixed the destroy command