fixed a incompatibility issue