fixed variable declaration (#45)