cleaning up commands