fix validate action