Fix cache expiration