making vectors and dicts more consistent