complex commands execution fix