fix issue 291

#291