fix files in the root directory having invalid urls