If gelatin gets lumpy, it meant that the gelatin was not mixed properly. You try heating it gradually without bringing it to boiling point. Try melting the gelatin and mixing it evenly. But the result is doubtful and depends on the dish itself.