fixing bug: undefined parallel flag causes exception