Fix crashing app2