fixing camera diagnostics