modified data preprocessing for salaries regression