fix dynamic spawn manager