Fix advanced settings build

Some lines were duplicate