Fix damn KY table.
Fix database errors.