[BUGFIX] Fixes problem with doubled var name

Thanks Patrick…