fixed integer parsing