fixing command-lines