support legacy behaviour