fix an issue where making the first selected corpus visible did not work