modify validation