fixing errorneous id set