Fixed exceptions caused by missing USER_AGENT (monitoring)