The problem with what your doing is it's going to easily break again.

You need to take the end caps off and add a small block at each end. You can tie them to the bolt or attach them to the end cap. Start at one side and run the cord through the block on the other side then back through on the side you started and finally back out the hole on the other side.

You wind up with three lengths of cord in the beam which reduces the pull on the cord and allows the user to peter pan without breaking it. ( there are limits )


Have Fun