fix issue#1: caching default value