resolving IDs issue