fix validation prop