Modify fixUrl signature to return fixed url