fixed a less-compile bug