Small fix to checkcing program paramters