Fixing broken local variable reference.