remove children when removing all commands