in settings changed importerror to nameerror