Fixed a bug in initialize value.