clean up is_number definitions