make validator work without