fixed many weird issues on the dbtables page