Fix retry not working