change extension to uppercase R