fixed variable references