Woops fixed variable redeclaration