fixes due to breaking change from ~[T] to Vec<T> for growable vectors