fixing error while starting app monitor