fix truncation