removed unused libraries and duplicates