Fixing bugs in lights