fixed small bug in preprocessor macro