fix the compile error caused by Ctrl+KD