some magick added.
links handling