remove useless libraries