fix id type bug