use save undefined in comparison