revert to 9cfb01db247ca04bb4b5b337bbd77c66b7150e53 (disallow iri being blank)
fix history link