corrected library selection