fix for . path reference