restore old values after running screenshot tests