minor fix on validator