Fixed a bug in link hints and sesssions