check if secret exists
remove incorrect pages