Fixed an epidemic bug