Remove duplicate open scope