preview pattern url fix