fix cache expiration