fixed a compile error