fixed issue  #146