fix validation types