Still fixing bugs in camera.open()