some minor corrections with screenshot input