Fixed: memory access error + vector-iterator probs