fix init call in inherited class with inheritence change