Are you taking a good form of magnesium? From what I've read, magnesium aids in regulating heartbeat, as the heart is a muscle and magnesium is very important to muscles. I'm just saying, because I'm someone with a bad magnesium deficiency and can relate.