made screenshot count 0 based