For the preset loc ids, use vector instead of simple array.

The simple array will occur an error when destructing...