fixes to screenshot2