vector out of bound bug