getting rid of unused libraries