Fix crashing app4