fixed memory leak for create urls combinations