Fixed Vizi realize bug