get rid of .metadata directory