Fixed error related to cache