more adjustments for CentOS7