fix lights.py