truncate for both