fix compilation error caused by serverX