complete insert errors and urls but still have some memory leaks