modified check to unique line