small change of parallel code