fixed arguments pased to cache/unCache function