validate salary and chang data type of address