fix cacheExtender for php5.4