Fix error building command line