handle truncate