change logic of shared page