use vector for argv and free duplicated strings