fixed crashing bug, spawning apples before factory existed