fix up urls and compression