make vector scaled correctly