resolve target pageid, against current page. Remove commented code
duplicate clean

doh, keeps always testing!