fix a bug in getParameter() from cache in repository module