fix proper retry