WiP: Fix a missing variable error