Correction on log table structure