solve issue with path resolving