model: use get_thread(curr) instead of get_current_thread()