You may have overheated your chocolate if it got clumpy when you melted it. You can try adding a teaspoon of vegetable oil or shortening to smooth it out.