a small compile error when the RIDBUG flag is enabled