addedd compress_offline fragment