fixing dot spawning