removing repeated docs