fixes for vec loading