fix super() calls for python2 compatibility