Fixed security issue related to pages