fix cache expiring