fix grid action bug