fixed bug with salary > MAX_LONG. Salary bounded by 9 digits.