model: use helper 'get_thread()'