Bugfix on truncate.