fix 51 bug
close #51