close #14 fix bug