Fix truncate task