fixing some quirks evident on RHEL systems