Fixed encoding bug

oops