Fixed minor error for retry