fix possible bug for new entries without pagereference
add 2. scan page link
target _self for all links in nav