cleanup of unused libraries