fix bug

close #36