fix for "NotFoundError: DOM Exception 8" on settings page