fixed cache expiry issue