enhance the screenshot capture feature