Fixing localhost urls