Fixed issue 91.
Modified to set 0 before set all values. (probably fixed the issue)