fixed stupid bug. Strange parsing problems from JSON to Int...
merge