Fix a warning typo and a minor bug I thought I'd fixed long ago indicated by some getString warning spam