Fix macro to prevent multiple reading.