vis condtion fix