fix app error