Fix spawn definition