My recommendation is to delete local content and reinstall Skyrim. Once done, backup by the .esm's by copying them to another location before editing with xEdit so you don't have to reinstall skyrim again incase something breaks again. Edit: Backup any mods or prepare to redownload them as well.