catch utf8 encoding exception for ref completion too