Fixed lamps.cpp