This can happen when you melt everything together at the same time. To avoid this, melt the butter and golden syrup together first and then melt the chocolate into it.