fixes  #2867