fix init camera