razor inheritence issues