fix widths of palette reads. Issue #16