fix rule action bug