+fix inherit pure and @safe