Fixed renamed variable & string format

Hi, I tried using this in one of my projects and hit the following two issues.

I wasn't 100% positive what it should be, but corrected it with what I thought.

Let me know if this is right or if I should change it some other way.

Thanks,
Brad