How can I prevent lumps from forming?

 

Always add the cold mixture gradually to the still warm gelatin solution. Never vice versa, otherwise threads or lumps will form.