fix last_access interval bug