improve spawn