Dirty diaper immediately after formula feeding

My LO is now 2 months old. I'm going back to work soon but can't pump enough milk for storage since I have low production (?). I give him formula (about 4-5 bottles per week) and he immediately starts to poo within 30 minutes of finishing his bottle. Does anyone have the same problem? Any tips? Thanks!