Fixed data type in viewdata.