fixes for lz4