small fix to defaultValue support