fix ehcache config issue