prevent int conversion of None