It could be because your mug was too small to hold all the ingredients. Make sure that before cooking the mug is no more than half full with batter.