Nested command line fix