Fixed encoding to list