fix use of Bulb class