fixed variable bad lookup