compile error repaired #829