fix integer parsing on the thing