fixed error where error.get("character") will return Integer object

errors like this:
[ERROR] Line: 337 col: 119, Unsafe character.
will have col as Integer, not Double
recomendation: use generics!