add none check.