cachedMap directive added
small fix