fixed to update a value of next type.  previous commit was wrong.
fixed to update a value of next type.  previous commit was wrong.

MarginC/kame,MarginC/kame,MarginC/kame,MarginC/kame,MarginC/kame,MarginC/kame,MarginC/kame