fixed bug with multiple inheritance

when using self.super on multiple levels, it causes an infinite loop.