bug fixing for validate result