fix get links extraction