bug fix for command paramenter