fixing app error on do