Fix double encoded string