fixed lamps not retaining state after save/load