fix bug
close #35