fixed camera crash