fix douple path resolving: don't drink too much Kool-Aid'