FIX: wrong use of context_id