The main reason for bitterness is likely bitter mint or using too many stems. Avoid mint stems and only use the leaves. Cilantro stems aren't as overpowering, so you can add the soft stems on the top.