fixed debug enable compile error.