Bug fix of page action