removes unnecessary library