name encoding bug