remove not used dependencies from grid