fix bug
close #49