Fixed error on invalid link