truncate detection fixed