fix erb in CentOS 5.10 and 6.5