remove excessive libraries