logs table error fixed