fix static not being updated for spawning rate