removing extraneous libraries