when you put it all in the housing you probably knocked one or more of the wires loose. Turn the power off and open the housing back up and look for any loose connections or burnt wires. Tighten the connections better either with a wire nut and electric tape or a soldered connection.