remove deprecated grid markup