Fix #103 by removing the undefined variable state