should be using absolute url instead of path