added missing option for host being an empty string