Fix LSN macros