bug fix 341