fixed variable declaration.