fixed ifdef warning