resolve want / not path.sep