try seek instead of truncate