fixing xlinks method and adding report