close #232
fixed regression in #232