trying to fix notify exit code