fix bug in name method "getDefaultOptions"