finally fixed the controller.
you now have to get the candle before you can open the door and it blows out when you go through it