fix bug634