set default value on state