XLS Encoder Fix