groovy inheritance sometimes is strange