Make compatible with xiaoping 0.2.0.