fixed the file issues