fix #10725 by adjusting lookup in original file map