fixed a bug in the hlink code - it wasn't taking account of the new