remove not required dependencies