Fixed error with string decoding of links