fix lua error in stack tooltip