fixes bug in blink example