fix bug in --run (theta was not specified)