fixed errors in super() call