Fix bugs and add knots to rope