critical app error fixed