better handling of no compression