fixed the data type problem.