fixing camera class