Fixing the relative URLs paths