fix inf tx loop