solve setting problem when camera is open