Fixed app bug