Employee was tramming bolt machine from #2-#1 entry from the deck. The T-bar hit the rib he placed his right hand on the canopy to raise himself to see. Just as he did the bolter shifted due to a downhill grade causing the fingers on his right hand to be pinched against the roof. This resulted in lacerations that required sutures. No days were missed however he is restricted duty.