fixed bug when initializing ehcache plugin
fixes