fixed a conditional define error