use basestring in exception_level_filter resolve instead of str