small fix for new spawn() command.