fix generation URL