Fixed redeclared variable