fixes file stucture ect..