change toString() to explicit type cast
http: fix some fields