Fixed  #3045.