add back method to compatible with 3.0.0