fix bug
close #43