attempt to fix camera crashing