fix a compile error