fixed html and camera bug