Fixed minor problems with parallel keyword