vec(): downgrade before accessing string buffer