fix issue when multiple cameras