fixed a variable declaration