fix field validate