cmd line input fix