fix bug affecting redhat