fixing duplication and stray <