avoid isdigit warning