fixed check fields bug.