fix ifdef block