Attempted fix for truncate