fix with extends in interfaces.