remove external package dependencies