text trimming problem fixed