patch for 0.9.9