MEGA2560 R3 being recognised as ATmega16U2

I have a Mega2560 R3 and it does not seem to be recognised correctly as it is shown as ATmega16U2. This then results in Arduino 1.8.12. Does anyone know if they can help or explain how to make it work normally?