clean up validation callback