lights: fix compile error