resolving issue which comes if uniqueIdentifier is not passed on