fix vim state