EE was replacing filter housing on continuous miner. As ee disassembled the new housing using a ratchet the filter cap was stuck. Employee was pressing down on ratchet the filter housing broke loose smashing his finger between the ratchet and frame of the machine. Employee was treated at MedExpress and diagnosed with a fractured left middle finger in three (3) places.