data type bug