fix lcdc to work with O=