fix bug that prevented loading more than one file in codeview.