monitor lua calls