Lookuptable fix