manually fix some deprecated files and links