Mine used to do that until I switched food and started feeding them smaller portions. 
 
Don't really know why but it worked

  I was so tired of waking up to poop every morning. My husband and I were arguing all the time because he was always complaining about this. 
I also make sure I don't feed them late - or to close to bed time. 
Good luck!