Safe validator