close #38 fix bug