workaround off-by-one issue in LED
typo