validity fix