fix missing toUpper for location message

this line of code got removed in one of the recent commits