retrycount fix