create correct URLs