hotfix for HrefBeforeRender issue