remove encoding from tavg type, its not a string