fixed priority bug where Python 2 and 3 have different method attributes