improve path resolving when folder contains ext