properly handle failure on insert take 3