fixing path type