fixed nested_call_count var