remove directrives from save function of grid