finally debug those nasty href links
fixed mistaken bug