last_activity access fixes