fixing issue with content compression