class extends, fix the basic class spec