LZW fix for #26