Fixed a compile error caused by eclipse