Fix error while int parsing