prevent producing non-undefined value