fix camera issue