fixed issues with super(self.__class__, self) in python 2.5