verify the corresponding of the data, fix the bug