bug with program args fixed