fix bad lookup