Fix: undefined variable
Close #12