discount cache fix