Fixed app crashing error