use path,join replace path.resolve