minor improvements on lookup tables
Merge remote-tracking branch 'origin/master'