generate equations, remove pop-up of insertknot