fix camera wrapper