Fixed up the lzw to work on the latest master