improve camera performance.