simplify library chooser