added check to remove par1 if on mac