fix camera error.