modify chapter 14:add truncate both changes

fix #12