Fix undefined instance var.