Correct parallism error: missing synchronized