fixing dupe issue