fix overridding of protected base variables