added sanity assert() to addon init