fix truncate cache