stuff necesary for sync
fixed new spawnpattern