Add check to exist pages table