[temp] Fix undefined variable error