spawnsync fix