Wrong var name fixed