Added parameter to fix wrong message when trying to spawn