int parsing fix