Fixed duplicated lines