fixed the camera class