fixed a really stupid bug in method exclusion