fixed cache clearing issue