home ref in links fix