fixing bugs when running with AI_DELAY 0.0 (to much damage and concurrency related exeception)