Fix incorrect data type