add relative path resolving