fix id type when component