change frame counting vars