fix camera problem