fixes duplicate issue