remove unnecessary cast for histoSerial