remove cdn pattern