fix bug in super() call