grid replace working