add fix for memory using by camera and works camera