fix atnt compile error