fix local vim check