fix tweetCounter and photoCounter