fix for failed test:saving of screenshot