build path to web correctly