code fixing in the TauES producer