removing redundant libraries