use path resolve instead of resolve user config manually