Fixed memset issue.