fixed a set data type bug