trailing blanks trimming problem