fix path resolution for extends through multiple directories