Fix refresh problem for the action system