make sure bad scripts place correct information in the validation elements