added special condition for extra permission page