fix camera speed and end demo automatically