fixing bug in OrParser