cleaning and adding missing files