The roof bolter operator was attempting to put wrench end into the roof bolt wrench. The ee was hitting the bolt wrench against the frame of the roof bolter. While hitting the end of the wrench the ee missed and mashed and cut his middle finger on his right hand against the frame of the machine resulting in several stitches.