fix apply validate