Solved errors with duplicate labels