cleaned up and fixed dead files