delete old validation code