removing redundant libs