add reference url sanity check