fixbug in #59