fix 50 bug
close #50