fixing what looks like a copy paste oversight

Took a while to figure out how to create a pull request with only the single commit I wanted but I think this is what's required.