fixed variable misnaming