fixed a bug that created 2 eggs per mobs and a few other problems