fix bug
close #12