fixed repreentation serialization