fixed bug  #77