small refactor
refactor screen capture