changed 2nd call of screenshot