Fixed problem in data-vector