bug fix #118