fix url lib issue