Fixed parallel bug