minor fix for table key type