camera no longer crashes the app