Fixed #854 return not-safe spawn when safe spawn is not available