use current()@case_id instead of variable