Dialog variables corrections