fix error

close #395