allow checking undefined