fixed typo which caused missing vector = positive(vector)