" Such comments are patently erroneous , offensive and dangerous , and they are especially troubling coming from the federal official charged with protecting voting rights in this country , " Obama wrote .