fixing a retry bug. finally.