fixed bug when assets have params in urls