fixed things so I could actually do a lookup