Fix bug when super used in def in top level