bugfix in vi