fix privileges for pages