fix default value setting and resetting