bug fix #43