RE: New 50cc Engine
The square nut approach can be made to work, but the preferred method is a square-headed bolt with the head slipped into the slots on either side of the port, then muffler slipped over the projecting shafts, then washers & nuts turned down onto the muffler. That way length of bolt is not critical.