Fix page action bug