var referenced before assignment