fix hint lookup