fix bug about load toolingapi settings in event.py