fix for default value setting