removed nslogs and fixed bug with counter in if statement when refresh active events page