fixed pathUtils bug