simplify redhat check, update #2682