fixed sending program arguments