Remove non-required dependencies which will cause unexpected errors