support legacy keys
4.0.2