Getting rid of the duplicate list errors