validation changed losing