refactor cache params
refill bug