fix default value propagation through state construction