Fix scoping on sub.

jnthn++