another go at fixing the dupe error