fixed spawn behavior
fixed spawn behavior