fixed user entry in cmd string generation