fix regression in #131

close #148