fixed issue#295