Reverted spawn_smart->spawn to save memory