Solved the duplicate case value