how to solve screenshot due to security policy