Check for valid utf8
fix conflict