Use proper int parsing