rework endpage and change link (dedication to @undless)