corrected crash of camera on 2.3