clean up command system