Fix spawn issue.